'use strict';
module.exports = app => {
    const { BIGINT, STRING, INTEGER } = app.Sequelize;
    return app.model.define('users', {
        user_id: {
            type: BIGINT,
            field: 'id',
            primaryKey: true,
            autoIncrement: true,
        },
        username: STRING,
        password: STRING,
        status: INTEGER,
    });
};